import Vue from 'vue'
import Router from 'vue-router'

import HomeRouter from '@/module/home/router'

Vue.use(Router)

// 定义路由配置
let routes = []
let concat = (router) => {
  routes = routes.concat(router)
}

// 合并路由规则
concat(HomeRouter)

export default routes
